using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class SaveSelections : MonoBehaviour
{
    public Button Save1;
    public Button Save2;
    public Button Save3;
    public Button Save4;

    // Start is called before the first frame update
    void Start()
    {
        Save1.onClick.AddListener(()=> 
        {
            GameManager.Instance.SaveData(1);
        });
        Save2.onClick.AddListener(() =>
        {
            GameManager.Instance.SaveData(2);
        });
        Save3.onClick.AddListener(() =>
        {
            GameManager.Instance.SaveData(3);
        });
        Save4.onClick.AddListener(() =>
        {
            GameManager.Instance.SaveData(4);
        });
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}
